﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DelLog.aspx.cs" Inherits="Manage_Database_DelLog" %>
<html>
<head>
<!--#include file="../js/html_head.inc"-->
<link rel="stylesheet" href="../Themes/<%=ManageHelper.GetTheme()%>/style.css" type="text/css" />
</head>
<body>
<%=ManageHelper.PageSucMsg()!=""?"<div class='msg_succeed'>"+ManageHelper.PageSucMsg()+"</div>":""%>
<%=ManageHelper.PageErrMsg()!=""?"<div class='msg_failed'>"+ManageHelper.PageErrMsg()+"</div>":""%>

<form id="sqlForm" name="sqlForm" method="post" action="?act=clear" onsubmit="return validator(this)">
<div class="mycolumn">
    <div class="columntitle">数据库日志清除</div>
    <table width="95%" align="center" cellpadding="3" cellspacing="3">
    <tr>
        <td align="left" width="150"><img src="../pic/icons/help.gif" alt="清除数据库日志" onclick="helpInf(this)"/> <nobr>数据库日志清除</nobr></td>
    </tr>
    <tr>
        <td colspan="2" align="center" class="tdbutton" >
        <input type="submit" value="执 行" class="button" />
        </td>
    </tr>
    </table>
</div>
</form>


<div class="column">
    <div class="columntitle">
        数据库日志清除日志</div>
    <table cellspacing="0" cellpadding="0" rules="all" align="center" border="0" id="MyDataGrid"
        style="border-width: 0px; width: 100%; border-collapse: collapse;">
        <tr class="summary-title" style="height: 25px" align="center">
            <td style="width: 50px;">
                用户</td>
            <td style="width: 100px;">
                操作IP</td>
            <td align="left">
                详情</td>
            <td style="width: 120px;">
                时间</td>
        </tr>
        <%
            foreach (KeRui.Model.AdminLog log in list)
            {
        %>
        <tr class="tdbg" onmouseover="this.className='tdbg-dark';" onmouseout="this.className='tdbg';"
            style="height: 25px;" align="center">
            <td style="width: 50px;">
                <%=log.Username%>
            </td>
            <td style="width: 100px;">
                <%=log.CreateIP%>
            </td>
            <td align="left">
                <%=log.Log%>
            </td>
            <td style="width: 120px;">
                <%=log.CreateTime%>
            </td>
        </tr>
        <%
            }
        %>
    </table>
</div>

</body>
</html>
